package org.mtmi.ui.controls;

import org.eclipse.swt.graphics.GC;

/**
 *  Event used by ITouchControl
 *  
 * @author arnaud
 */
public class TouchControlEvent 
{
		/** tx:  x scene coordinate of checked  */
		public final int x; 
		/** ty:  y scene coordinate of checked  */
		public final int y;
		/** gc:  available gc for path and computing, <b>note:</b>Take care of non UI thread constraint */
		public final GC gc;
		
		public TouchControlEvent( GC g, int _x, int _y ) {
			x = _x; y = _y; gc = g;
		}
	}
	